<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue';
import ArticleList from './components/ArticleList.vue';
import { ref } from 'vue';

const activeId = ref<number>(0);
</script>

<template>
  <ChannelNav :activeId="activeId" @change-active-id="activeId = $event" />
  <ArticleList :activeId="activeId" />
</template>
